<script setup>
import {dateZhCN, NMessageProvider, zhCN, darkTheme} from 'naive-ui'
import Index from "@/views/Index.vue";
import {useThemeStore} from "@/store/sys/theme.js";

const themeStore = useThemeStore()
</script>

<template>
  <n-config-provider :locale="zhCN" :date-locale="dateZhCN" :theme="themeStore.getTheme">
    <n-dialog-provider>
      <n-notification-provider>
        <n-message-provider>
          <index/>
        </n-message-provider>
      </n-notification-provider>
    </n-dialog-provider>
  </n-config-provider>
</template>

<style scoped>

</style>
